/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package IO;

/**
 *
 * @author Eagle
 */
public class resultClass {
    private int singleGluInputOnGlu,doubleGluInputOnGlu,tripleGluInputOnGlu;
    private int singleGABAInputOnGlu,doubleGABAInputOnGlu,tripleGABAInputOnGlu;
    private int singleGluInputOnGABA,doubleGluInputOnGABA,tripleGluInputOnGABA;
    private int singleGABAInputOnGABA,doubleGABAInputOnGABA,tripleGABAInputOnGABA;
    private int singleGluOutput,doubleGluOutput,tripleGluOutput;
    private int singleGABAOutput,doubleGABAOutput,tripleGABAOutput;
    private int gluInDGrp, gluInTGrp,gluInQGrp;
    private int gabaInDGrp, gabaInTGrp,gabaInQGrp;

    void addGluOutput(int nOutput){
                switch (nOutput){
                    case 3:
                        tripleGluOutput++;
                        break;
                    case 2:
                        doubleGluOutput++;
                        break;
                    case 1:
                        singleGluOutput++;
                        break;
                }
    }
    void addGABAOutput(int nOutput){
                switch (nOutput){
                    case 3:
                        tripleGABAOutput++;
                        break;
                    case 2:
                        doubleGABAOutput++;
                        break;
                    case 1:
                        singleGABAOutput++;
                        break;
                }
    }
    void addGluInputOnGlu(int nInput){
                switch (nInput){
                    case 3:
                        tripleGluInputOnGlu++;
                        break;
                    case 2:
                        doubleGluInputOnGlu++;
                        break;
                    case 1:
                        singleGluInputOnGlu++;
                        break;
                }
    }
    void addGABAInputOnGlu(int nInput){
                switch (nInput){
                    case 3:
                        tripleGABAInputOnGlu++;
                        break;
                    case 2:
                        doubleGABAInputOnGlu++;
                        break;
                    case 1:
                        singleGABAInputOnGlu++;
                        break;
                }
    }
    void addGluInputOnGABA(int nInput){
                switch (nInput){
                    case 3:
                        tripleGluInputOnGABA++;
                        break;
                    case 2:
                        doubleGluInputOnGABA++;
                        break;
                    case 1:
                        singleGluInputOnGABA++;
                        break;
                }
    }
    void addGABAInputOnGABA(int nInput){
                switch (nInput){
                    case 3:
                        tripleGABAInputOnGABA++;
                        break;
                    case 2:
                        doubleGABAInputOnGABA++;
                        break;
                    case 1:
                        singleGABAInputOnGABA++;
                        break;
                }
    }
    void addGluClusterCoe(int grpSize, int output) {
            switch (grpSize){
                case 4:
                    gluInQGrp+=output;
                    break;
                case 3:
                    gluInTGrp+=output;
                    break;
                case 2:
                    gluInDGrp+=output;
                    break;
            }
    }
    void addGABAClusterCoe(int grpSize, int output) {
            switch (grpSize){
                case 4:
                    gabaInQGrp+=output;
                    break;
                case 3:
                    gabaInTGrp+=output;
                    break;
                case 2:
                    gabaInDGrp+=output;
                    break;
            }
    }

    String GluInputOnGluResult(){
        String s;
        s=singleGluInputOnGlu+","
                +doubleGluInputOnGlu+","
                +tripleGluInputOnGlu;
        return s;
    }
    String GABAInputOnGluResult(){
        String s;
        s=singleGABAInputOnGlu+","
                +doubleGABAInputOnGlu+","
                +tripleGABAInputOnGlu;
        return s;
    }
    String GluInputOnGABAResult(){
        String s;
        s=singleGluInputOnGABA+","
                +doubleGluInputOnGABA+","
                +tripleGluInputOnGABA;
        return s;
    }
    String GABAInputOnGABAResult(){
        String s;
        s=singleGABAInputOnGABA+","
                +doubleGABAInputOnGABA+","
                +tripleGABAInputOnGABA;
        return s;
    }
    String GluOutputResult(){
        String s;
        s=singleGluOutput+","
                +doubleGluOutput+","
                +tripleGluOutput;
        return s;
    }
    String GABAOutputResult(){
        String s;
        s=singleGABAOutput+","
                +doubleGABAOutput+","
                +tripleGABAOutput;
        return s;
    }
    String GluClusterCoeResult(){
        String s;
        s=gluInDGrp+","
                +gluInTGrp+","
                +gluInQGrp;
        return s;
    }
   String GABAClusterCoeResult(){
        String s;
        s=gabaInDGrp+","
                +gabaInTGrp+","
                +gabaInQGrp;
        return s;
    }
}
